
define(['config/appregister'],function(app){
    app.directive("start",function(){
        return {
            templateUrl:"app/business/vedio/template/start.html",
            link:function(scope,element,attrs){
                    $('.score-callback').raty({
                        readOnly : true,
                        cancel  : false,
                        starOff : 'them/imgs/star-off.png',
                        starOn  : 'them/imgs/star-on.jpg',
                        score: function() {
                            return $(this).attr('data-score');
                        }
                    });

            }
        }
    });
});
